from utils.mysql import MysqlDbUtil
from models.model import Users

class User(object):
    def __init__(self):
        self.db = MysqlDbUtil("dev", "auth")
        self.t_user = "user"
        self.t_user_role = "user_role"

    def get_user_info(self, user_id: int = -1):
        sql = f"select * from {self.table} where id={user_id}"